package cn.itcast.usermanage.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.itcast.usermanage.pojo.User;

public interface UserMapper {

		
	public User queryUserById(Long id);
	
	
	public int addUser(User user) throws Exception;
	
	/**
	 * 分页查询用户信息
	 * @param start
	 * @param pageSize
	 */
	public List<User> queryUsersByPage(@Param("start")Integer start,@Param("pageSize") Integer pageSize);
	public List<User> queryUserAll();


	public int deleteUser(@Param("ids")String[] ids);
	
	
	
	
	
	
	
}
